package com.atwulidun.strategy21;

public interface Swim {
    void swim();
}

class FastSwim implements Swim {
    @Override
    public void swim() {
        System.out.println("鸭子游得快~~");
    }
}
class SlowSwim implements Swim {
    @Override
    public void swim() {
        System.out.println("鸭子游得慢~~");
    }
}
class NoSwim implements Swim {
    @Override
    public void swim() {
        System.out.println("鸭子不会游~~");
    }
}
